SET(DCORE_SRC
	argv.c
	cmdline.c
	error.c
	list.c
	map.c
	option.c
	string.c
	process.c
)

ADD_LIBRARY(dcore SHARED ${DCORE_SRC})
INCLUDE_DIRECTORIES(../include)

INSTALL(TARGETS
		dcore
	LIBRARY DESTINATION
		${DESTDIR}/usr/lib
	LIBRARY PERMISSIONS
		OWNER_READ OWNER_WRITE
		WORLD_READ
)

